const express = require("express");
const app = express();
app.listen(8888,()=>{
  console.log("服务器已开启8888");
});
app.get('/getData',(req,res)=>{
  console.log(req.query);
  const func = req.query.callback;
  res.send(func + '({type:1,name:"小米",price:2999})');
}); 